package lab02.Test14;

public class Test14 {
    public static void main(String[] args) {
        Rectangle re=new Rectangle();
        Circle ci=new Circle();
        System.out.println("边长为1,2的矩形面积是：");
        re.grow=1;
        re.wide=2;
        re.getArea();

        ci.radius=5;
        ci.getArea();
        System.out.println("半径为5的圆面积是：");
    }

}
